<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
  <title>订单列表</title>
  <meta name="decorator" content="list"/>
</head>
<body title="订单">
<grid:grid id="orderGridId" url="${adminPath}/server/order/ajaxList">
	<grid:column label="sys.common.key" hidden="true"   name="id" width="100"/>
	<grid:column label="sys.common.opt"  name="opt" formatter="button" width="100"/>
	<grid:button groupname="opt" function="delete" />
    <grid:column label="任务编号"  name="code"  query="true"  queryMode="input"  condition="like" />
    <grid:column label="旺旺名称"  name="wwName"  query="true"  queryMode="input"  condition="like" />
    <grid:column label="刷单日期"  name="datetime"  query="true"  queryMode="input"  condition="like" />
    <grid:column label="金额"  name="price" />
    <grid:column label="图片1"  name="imgpath1" imageWidth="100" imageHeight="100" formatter="image"/>
    <grid:column label="图片2"  name="imgpath2" imageWidth="100" imageHeight="100" formatter="image"/>
    <grid:column label="图片3"  name="imgpath3" imageWidth="100" imageHeight="100" formatter="image"/>
    <grid:column label="图片4"  name="imgpath4" imageWidth="100" imageHeight="100" formatter="image"/>
    <grid:column label="创建人姓名"  name="createName"  query="true"  queryMode="input"  condition="like" />
	<%-- <grid:toolbar function="create"/>
	<grid:toolbar function="update"/>
	<grid:toolbar function="delete"/> --%>
	
	<grid:toolbar function="search"/>
	<grid:toolbar function="reset"/>
	<grid:toolbar onclick="exportExc();" title="导出Excel"/>
</grid:grid>
<script type="text/javascript">
	function exportExc(){
		var url= "${adminPath}/server/order/exportExc";
		window.open(url);
	};
</script>
</body>
</html>